package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务，存储任务的基本信息对象 task
 * 
 * @author ruoyi
 * @date 2025-03-07
 */
public class Task extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 任务积分 */
    @Excel(name = "任务积分")
    private Long points;

    /** 任务接收人 */
    @Excel(name = "任务接收人")
    private String taskRecipient;

    /** 任务接收人ID */
    @Excel(name = "任务接收人ID")
    private String taskRecipientId;

    /** 任务接收时间 */
    @Excel(name = "任务接收时间")
    private String recipientTime;

    /**  */
    @Excel(name = "")
    private Long isDelete;

    /** 是否完成0否1是 */
    @Excel(name = "是否完成0否1是")
    private Long isCompleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }

    public void setPoints(Long points) 
    {
        this.points = points;
    }

    public Long getPoints() 
    {
        return points;
    }

    public void setTaskRecipient(String taskRecipient) 
    {
        this.taskRecipient = taskRecipient;
    }

    public String getTaskRecipient() 
    {
        return taskRecipient;
    }

    public void setTaskRecipientId(String taskRecipientId) 
    {
        this.taskRecipientId = taskRecipientId;
    }

    public String getTaskRecipientId() 
    {
        return taskRecipientId;
    }

    public void setRecipientTime(String recipientTime) 
    {
        this.recipientTime = recipientTime;
    }

    public String getRecipientTime() 
    {
        return recipientTime;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    public void setIsCompleted(Long isCompleted) 
    {
        this.isCompleted = isCompleted;
    }

    public Long getIsCompleted() 
    {
        return isCompleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskName", getTaskName())
            .append("remark", getRemark())
            .append("points", getPoints())
            .append("taskRecipient", getTaskRecipient())
            .append("taskRecipientId", getTaskRecipientId())
            .append("recipientTime", getRecipientTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .append("isCompleted", getIsCompleted())
            .toString();
    }
}
